package com.ruoqing.core.dto.blog;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
	* @author YaoXian
	* @title: BlogDetailsDto
	* @projectName ruoxi-blog
	* @description: 若兮微服务 -
	* @date 2021-03-05 16:05
	*/
@Data
public class BlogDetailsDto {
		
		private Integer viewCount;
		
		private Integer praiseCount;
		
		private Integer dislikeCount;
		
		@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		private Date lastTime;
		
		private String title;
		
		List<BlogContentDto> contentDtoList;
}
